﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace Wpf_Client.Model
{
   public class AboutModel:ModelBase
    {
       public string Vision => $"版本: {Application.ResourceAssembly.GetName(false).Version.ToString()}";

       public string PublishDate => $"时间: {System.IO.File.GetLastWriteTime(this.GetType().Assembly.Location)}";

       private string _id ="未分配";

        public string Id
       {
           get { return $"用户ID: {_id}"; }
            set
            {
                if (_id == value)
                return;
                _id = value;
                OnPropertyChanged("Id");
            }
        }

       public string Copyright => $"Copyright © 2016-{DateTime.Now.Year} 江西盈通控股";

       public string Title => "远程桌面";
    }

}
